<script>
  import { Mesh } from "@threlte/core"
  import { AutoColliders } from "@threlte/rapier"
  import { BoxBufferGeometry, MeshStandardMaterial } from "three"
</script>

<AutoColliders shape={"cuboid"} position={{ y: -0.5 }}>
  <Mesh
    receiveShadow
    geometry={new BoxBufferGeometry(10, 1, 10)}
    material={new MeshStandardMaterial()}
  />
</AutoColliders>
